package com.winter.mapper;

import com.winter.model.NewGossipComment;
import com.winter.model.NewGossipLike;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NewGossipCommentMapper {
    int deleteByPrimaryKey(String id);

    int insert(NewGossipComment record);

    int insertSelective(NewGossipComment record);

    NewGossipComment selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(NewGossipComment record);

    int updateByPrimaryKey(NewGossipComment record);

    List<NewGossipComment> getByGossipId(@Param("gossipId") String gossipId);

    NewGossipComment getByReply(@Param("superId") String superId);
}